package cn.itsource.basic.query;

import lombok.Data;

@Data
public class BaseQuery {
    private Integer currentPage = 2;
    private Integer pageSize = 5;

    public Integer getBegin(){
        return (currentPage-1) * pageSize;
    }
}
